import { useAuth } from '@/hooks/useAuth';

const center = () => {
  const { logout } = useAuth();
  return (
    <div>
      <h1>center</h1>
      <button type="button" onClick={logout}>
        注销
      </button>
    </div>
  );
};

export default center;
